dict1={'pid':1375,'type':'cpu','resource':2048}
print ("{pid},{type}:{resource}".format(**dict1))